PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Simmering / dylan - LED ravers addition (spectratex).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.000 |
| 8 | fDecay=0.900 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=1 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.000 |
| 27 | fWaveSmoothing=0.750 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00010 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99971 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99980 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=202 |
| 77 | wavecode_0_sep=120 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=2.98206 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.000 |
| 88 | wave_0_init1=t1=0; |
| 89 | wave_0_init2=t2=0; |
| 90 | wave_0_init3=t3=0; |
| 91 | wave_0_init4=t4=0; |
| 92 | wave_0_per_frame1=t1=0; |
| 93 | wave_0_per_frame2=k=0; |
| 94 | wave_0_per_frame3=r=0; |
| 95 | wave_0_per_frame4=g=0; |
| 96 | wave_0_per_frame5=b=0; |
| 97 | wave_0_per_frame6=t2=0.004; |
| 98 | wave_0_per_frame7=q31=1; |
| 99 | wave_0_per_frame8=yscl=1/(q22-q21); |
| 100 | wave_0_per_frame9=t4=0; |
| 101 | wave_0_per_point1=x=value1; |
| 102 | wave_0_per_point2=y=q21+q22*t1*0.00507; |
| 103 | wave_0_per_point3= |
| 104 | wave_0_per_point4=r=sin(x*3.1416*0.45); |
| 105 | wave_0_per_point5=t2=max(t2,r); |
| 106 | wave_0_per_point6= |
| 107 | wave_0_per_point7=t4=t4+r; |
| 108 | wave_0_per_point8= |
| 109 | wave_0_per_point9=t3=if(above(t2,1),1/t2,1); |
| 110 | wave_0_per_point10= |
| 111 | wave_0_per_point11=b=t2;//0.5+0.5*cos(sample*M_PI_2); |
| 112 | wave_0_per_point12= |
| 113 | wave_0_per_point13=x=q23; |
| 114 | wave_0_per_point14=t1=t1+1; |
| 115 | wave_0_per_point15=g=t4/t1; |
| 116 | wave_0_per_point16= |
| 117 | wave_0_per_point17=a=1; |
| 118 | wave_0_per_point18= |
| 119 | wavecode_1_enabled=0 |
| 120 | wavecode_1_samples=201 |
| 121 | wavecode_1_sep=140 |
| 122 | wavecode_1_bSpectrum=1 |
| 123 | wavecode_1_bUseDots=0 |
| 124 | wavecode_1_bDrawThick=0 |
| 125 | wavecode_1_bAdditive=1 |
| 126 | wavecode_1_scaling=0.81962 |
| 127 | wavecode_1_smoothing=0.29990 |
| 128 | wavecode_1_r=1.000 |
| 129 | wavecode_1_g=1.000 |
| 130 | wavecode_1_b=1.000 |
| 131 | wavecode_1_a=1.000 |
| 132 | wave_1_per_frame1=t2=0; |
| 133 | wave_1_per_point1=x=value1; |
| 134 | wave_1_per_point2=y=q21+q22*t2*0.005; |
| 135 | wave_1_per_point3= |
| 136 | wave_1_per_point4=t2=t2+1; |
| 137 | wave_1_per_point5=r=1; |
| 138 | wave_1_per_point6=g=1; |
| 139 | wave_1_per_point7=b=1; |
| 140 | wave_1_per_point8= |
| 141 | wave_1_per_point9=a=1; |
| 142 | wave_1_per_point10= |
| 143 | wave_1_per_point11= |
| 144 | wavecode_2_enabled=0 |
| 145 | wavecode_2_samples=201 |
| 146 | wavecode_2_sep=0 |
| 147 | wavecode_2_bSpectrum=1 |
| 148 | wavecode_2_bUseDots=0 |
| 149 | wavecode_2_bDrawThick=1 |
| 150 | wavecode_2_bAdditive=1 |
| 151 | wavecode_2_scaling=0.06811 |
| 152 | wavecode_2_smoothing=0.00000 |
| 153 | wavecode_2_r=1.000 |
| 154 | wavecode_2_g=1.000 |
| 155 | wavecode_2_b=1.000 |
| 156 | wavecode_2_a=1.000 |
| 157 | wave_2_per_frame1=t3=0; |
| 158 | wave_2_per_point1=x=0.0003+q23; |
| 159 | wave_2_per_point2=y=q21+q22*t3*0.005; |
| 160 | wave_2_per_point3=t3=t3+1; |
| 161 | wave_2_per_point4=r=1; |
| 162 | wave_2_per_point5=g=1; |
| 163 | wave_2_per_point6=b=1; |
| 164 | wave_2_per_point7=a=1; |
| 165 | wavecode_3_enabled=0 |
| 166 | wavecode_3_samples=512 |
| 167 | wavecode_3_sep=0 |
| 168 | wavecode_3_bSpectrum=0 |
| 169 | wavecode_3_bUseDots=0 |
| 170 | wavecode_3_bDrawThick=0 |
| 171 | wavecode_3_bAdditive=0 |
| 172 | wavecode_3_scaling=1.00000 |
| 173 | wavecode_3_smoothing=0.50000 |
| 174 | wavecode_3_r=1.000 |
| 175 | wavecode_3_g=1.000 |
| 176 | wavecode_3_b=1.000 |
| 177 | wavecode_3_a=1.000 |
| 178 | shapecode_0_enabled=0 |
| 179 | shapecode_0_sides=4 |
| 180 | shapecode_0_additive=0 |
| 181 | shapecode_0_thickOutline=0 |
| 182 | shapecode_0_textured=1 |
| 183 | shapecode_0_num_inst=1 |
| 184 | shapecode_0_x=0.500 |
| 185 | shapecode_0_y=0.500 |
| 186 | shapecode_0_rad=2.42660 |
| 187 | shapecode_0_ang=1.00531 |
| 188 | shapecode_0_tex_ang=1.88496 |
| 189 | shapecode_0_tex_zoom=0.38475 |
| 190 | shapecode_0_r=0.500 |
| 191 | shapecode_0_g=1.000 |
| 192 | shapecode_0_b=1.000 |
| 193 | shapecode_0_a=0.200 |
| 194 | shapecode_0_r2=1.000 |
| 195 | shapecode_0_g2=1.000 |
| 196 | shapecode_0_b2=0.600 |
| 197 | shapecode_0_a2=1.000 |
| 198 | shapecode_0_border_r=1.000 |
| 199 | shapecode_0_border_g=1.000 |
| 200 | shapecode_0_border_b=1.000 |
| 201 | shapecode_0_border_a=0.000 |
| 202 | shapecode_1_enabled=0 |
| 203 | shapecode_1_sides=4 |
| 204 | shapecode_1_additive=0 |
| 205 | shapecode_1_thickOutline=0 |
| 206 | shapecode_1_textured=0 |
| 207 | shapecode_1_num_inst=1 |
| 208 | shapecode_1_x=0.900 |
| 209 | shapecode_1_y=0.800 |
| 210 | shapecode_1_rad=0.49138 |
| 211 | shapecode_1_ang=0.00000 |
| 212 | shapecode_1_tex_ang=0.00000 |
| 213 | shapecode_1_tex_zoom=4.66674 |
| 214 | shapecode_1_r=1.000 |
| 215 | shapecode_1_g=1.000 |
| 216 | shapecode_1_b=1.000 |
| 217 | shapecode_1_a=1.000 |
| 218 | shapecode_1_r2=1.000 |
| 219 | shapecode_1_g2=1.000 |
| 220 | shapecode_1_b2=1.000 |
| 221 | shapecode_1_a2=0.000 |
| 222 | shapecode_1_border_r=1.000 |
| 223 | shapecode_1_border_g=1.000 |
| 224 | shapecode_1_border_b=1.000 |
| 225 | shapecode_1_border_a=0.000 |
| 226 | shapecode_2_enabled=0 |
| 227 | shapecode_2_sides=4 |
| 228 | shapecode_2_additive=0 |
| 229 | shapecode_2_thickOutline=0 |
| 230 | shapecode_2_textured=0 |
| 231 | shapecode_2_num_inst=1 |
| 232 | shapecode_2_x=0.500 |
| 233 | shapecode_2_y=0.500 |
| 234 | shapecode_2_rad=0.10000 |
| 235 | shapecode_2_ang=0.00000 |
| 236 | shapecode_2_tex_ang=0.00000 |
| 237 | shapecode_2_tex_zoom=1.00000 |
| 238 | shapecode_2_r=1.000 |
| 239 | shapecode_2_g=0.000 |
| 240 | shapecode_2_b=0.000 |
| 241 | shapecode_2_a=1.000 |
| 242 | shapecode_2_r2=0.000 |
| 243 | shapecode_2_g2=1.000 |
| 244 | shapecode_2_b2=0.000 |
| 245 | shapecode_2_a2=0.000 |
| 246 | shapecode_2_border_r=1.000 |
| 247 | shapecode_2_border_g=1.000 |
| 248 | shapecode_2_border_b=1.000 |
| 249 | shapecode_2_border_a=0.100 |
| 250 | shapecode_3_enabled=0 |
| 251 | shapecode_3_sides=4 |
| 252 | shapecode_3_additive=0 |
| 253 | shapecode_3_thickOutline=0 |
| 254 | shapecode_3_textured=0 |
| 255 | shapecode_3_num_inst=1 |
| 256 | shapecode_3_x=0.500 |
| 257 | shapecode_3_y=0.500 |
| 258 | shapecode_3_rad=0.10000 |
| 259 | shapecode_3_ang=0.00000 |
| 260 | shapecode_3_tex_ang=0.00000 |
| 261 | shapecode_3_tex_zoom=1.00000 |
| 262 | shapecode_3_r=1.000 |
| 263 | shapecode_3_g=0.000 |
| 264 | shapecode_3_b=0.000 |
| 265 | shapecode_3_a=1.000 |
| 266 | shapecode_3_r2=0.000 |
| 267 | shapecode_3_g2=1.000 |
| 268 | shapecode_3_b2=0.000 |
| 269 | shapecode_3_a2=0.000 |
| 270 | shapecode_3_border_r=1.000 |
| 271 | shapecode_3_border_g=1.000 |
| 272 | shapecode_3_border_b=1.000 |
| 273 | shapecode_3_border_a=0.100 |
| 274 | per_frame_init_1=q3=0; |
| 275 | per_frame_init_2= |
| 276 | per_frame_init_3=v1=rand(100)/100;//0.2; |
| 277 | per_frame_init_4=v2=rand(100)/100;//0.3; |
| 278 | per_frame_init_5=v3=rand(100)/100;//0.4; |
| 279 | per_frame_init_6=v4=rand(100)/100;//0.5; |
| 280 | per_frame_init_7=v5=rand(100)/100;//0.6; |
| 281 | per_frame_init_8=v6=rand(100)/100;//0.7; |
| 282 | per_frame_init_9=v7=rand(100)/100;//0.8; |
| 283 | per_frame_init_10=v8=rand(100)/100;//0.9; |
| 284 | per_frame_1=//volume = 0.3*(bass+mid+att); |
| 285 | per_frame_2=//beatrate = if(equal(beatrate,0),1,if(below(volume,0.01),1,beatrate)); |
| 286 | per_frame_3=//lastbeat = if(equal(lastbeat,0),time,lastbeat); |
| 287 | per_frame_4=//meanbass_att = 0.1*(meanbass_att*9 + bass_att); |
| 288 | per_frame_5=//beat = if(above(volume,0.8),if(below(peakbass_att - bass_att, 0.05*peakbass_att),if(above(time - lastbeat,0.1+0.5*(beatrate-0.1)),1,0),0),0); |
| 289 | per_frame_6=//beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.5*(beatrate + time - lastbeat),beatrate),beatrate),0.1); |
| 290 | per_frame_7=//peakbass_att = if(equal(beat,0),if(above(time - lastbeat,2*beatrate),peakbass_att*0.95,peakbass_att*0.995),bass_att); |
| 291 | per_frame_8=//lastbeat = if(beat,time,lastbeat); |
| 292 | per_frame_9=//peakbass_att = max(if(beat,bass_att,peakbass_att),1.1*meanbass_att); |
| 293 | per_frame_10=//wave_a=0; |
| 294 | per_frame_11= |
| 295 | per_frame_12=warp=0; |
| 296 | per_frame_13= |
| 297 | per_frame_14=q1=aspectx; |
| 298 | per_frame_15=q2=aspecty; |
| 299 | per_frame_16= |
| 300 | per_frame_17=q21=0.5-(0.5/q2); //ofs screen y |
| 301 | per_frame_18=q22=1/q2; //scaler screen y |
| 302 | per_frame_19= |
| 303 | per_frame_20=q23=(0.5-0.5/q1); |
| 304 | per_frame_21=q20=0; |
| 305 | per_frame_22= |
| 306 | per_frame_23=q24=1-q21; |
| 307 | per_frame_24= |
| 308 | per_frame_25=//q20=1-0.02;//-((1/q2)-1)*0.5; |
| 309 | per_frame_26=//q20=1-0.002;//-(((1/q2)-1)*0.5); |
| 310 | per_frame_27= |
| 311 | per_frame_28=v1=v1+0.003; |
| 312 | per_frame_29=v2=v2-0.021; |
| 313 | per_frame_30=v3=v3+0.005; |
| 314 | per_frame_31=v4=v4-0.006; |
| 315 | per_frame_32=v5=v5+0.007; |
| 316 | per_frame_33=v6=v6-0.008; |
| 317 | per_frame_34=v7=v7+0.009; |
| 318 | per_frame_35=v8=v8-0.003; |
| 319 | per_frame_36= |
| 320 | per_frame_37=q3=3*sin(v1); |
| 321 | per_frame_38=q4=3*cos(v2); |
| 322 | per_frame_39= |
| 323 | per_frame_40=q5=0.5+0.45*sin(v2+(2*0.3)); |
| 324 | per_frame_41=q6=0.5+0.5*cos(v2*0.4783+2*0.31236); |
| 325 | per_frame_42= |
| 326 | per_frame_43=q7=0.5+0.45*sin(v3+(3*0.3)); |
| 327 | per_frame_44=q8=0.5+0.5*cos(v3*0.5783+3*0.212436); |
| 328 | per_frame_45= |
| 329 | per_frame_46=q9=0.5+0.5*sin(v4+(4*0.3)); |
| 330 | per_frame_47=q10=0.5+0.45*cos(v4*0.6783+4*0.32536); |
| 331 | per_frame_48= |
| 332 | per_frame_49=q11=0.5+0.45*sin(v5+(2*0.3)); |
| 333 | per_frame_50=q12=0.5+0.45*cos(v5*0.7783+5*0.1234336); |
| 334 | per_frame_51= |
| 335 | per_frame_52=q13=0.5+0.45*sin(v6+(2*0.432421)); |
| 336 | per_frame_53=q14=0.5+0.45*cos(v6*0.8783+6*0.4531336); |
| 337 | per_frame_54= |
| 338 | per_frame_55=q15=0.5+0.45*sin(v7+(7*0.3)); |
| 339 | per_frame_56=q16=0.5+0.45*cos(v7*0.9783+7*0.3245336); |
| 340 | per_frame_57= |
| 341 | per_frame_58=q17=0.5+0.45*sin(v8+(8*0.3)); |
| 342 | per_frame_59=q18=0.5+0.5*cos(v8*0.2783); |
| 343 | per_frame_60= |
| 344 | per_frame_61= |
| 345 | per_frame_62=zoom=1.0; |
| 346 | warp_1=`#define base01 sampler_pw_noise_hq |
| 347 | warp_2=`#define base02 sampler_pw_noise_mq |
| 348 | warp_3=`#define main sampler_pw_main |
| 349 | warp_4=`//#define base02 main |
| 350 | warp_5=`//sampler noise_lq; |
| 351 | warp_6=`sampler base01; |
| 352 | warp_7=`sampler base02; |
| 353 | warp_8=`shader_body |
| 354 | warp_9=`{ |
| 355 | warp_10=` |
| 356 | warp_11=`float2 adjuv=float2(q3,q4);//normalize(); |
| 357 | warp_12=`adjuv=mul(adjuv,rot_d2)*aspect.xy; |
| 358 | warp_13=`float2 huv=texsize.zw*0.5; |
| 359 | warp_14=`float2 aspc=float2(q2,q1); |
| 360 | warp_15=`float2 tuv=uv; |
| 361 | warp_16=`float3 my_scale,my_mean; |
| 362 | warp_17=`float3 st,op,sp; |
| 363 | warp_18=`float mscale,i,mavr,j; |
| 364 | warp_19=`float3 my_smp,c1,c2,c3,c4; |
| 365 | warp_20=`my_scale=tex2D(sampler_pw_main,float2(q20,0.004)); |
| 366 | warp_21=`mscale=1/(my_scale.z); |
| 367 | warp_22=`//mscale=1/(my_scale.z+1); |
| 368 | warp_23=`my_mean=mscale*my_scale.y; |
| 369 | warp_24=` |
| 370 | warp_25=`//mscale=1; |
| 371 | warp_26=` |
| 372 | warp_27=`op=tex2D(main,uv); |
| 373 | warp_28=`sp=tex2D(base01,uv*0.1+adjuv*0.03); |
| 374 | warp_29=`sp=cos(mul(sp,-rot_d2)*M_PI*0.5); |
| 375 | warp_30=`st=tex2D(base02,uv*1.5+adjuv*0.3); |
| 376 | warp_31=`st=cos(mul(st,rot_d1)*M_PI*0.5); |
| 377 | warp_32=`sp=lerp(sp,st,op); |
| 378 | warp_33=` |
| 379 | warp_34=`//sp=abs(cross(op,sp)); |
| 380 | warp_35=`j=(op.x*op.y+op.x*op.z+op.y*op.z)*0.33333*0.8+(sp.x*sp.y+sp.x*sp.z+sp.y*sp.z)*0.3333333*0.2; |
| 381 | warp_36=`//j=op.z*0.3+sp.z*0.7; |
| 382 | warp_37=`//j=0.3333*(sp.x+sp.y+sp.z); |
| 383 | warp_38=`j=sin(j*M_PI*0.5); |
| 384 | warp_39=`i=tex2D(sampler_pw_main,float2(q20,j));// *0.75+0.25)); |
| 385 | warp_40=`i.x*=mscale; |
| 386 | warp_41=`//i.x-=my_mean*0.5*(i); |
| 387 | warp_42=` |
| 388 | warp_43=`c1=GetPixel(adjuv*0.15*(0.8+0.2*(i.xx-j.xx))+0.5+(uv-(0.8+0.2*(i.xx-j.xx))*adjuv*0.15-0.5)*((1-i)*0.08+0.93)); |
| 389 | warp_44=`//j=(c1.x+c1.y+c1.z+c1.)*0.3333; |
| 390 | warp_45=`j=(c1.x*c1.y+c1.x*c1.z+c1.y*c1.z)*0.333333; |
| 391 | warp_46=`//j=c1.z; |
| 392 | warp_47=`c2=tex2D(sampler_pw_main,float2(q20,j)); |
| 393 | warp_48=`c2.x=c2.x*mscale;//-my_mean*0.5*(c2.x); |
| 394 | warp_49=` |
| 395 | warp_50=`//c3=GetPixel(0.5+(uv-0.5)*(c2.z*0.05+0.95)); |
| 396 | warp_51=` |
| 397 | warp_52=`ret=i<c2.x?(op*0.96+sp*0.04):c1;// *(0.95+0.05*c2.xxx); |
| 398 | warp_53=` |
| 399 | warp_54=`//ret=(op*0.96+sp*0.04); |
| 400 | warp_55=`//ret=c1; |
| 401 | warp_56=`//ret=max(op*0.4+sp*0.6,c1); |
| 402 | warp_57=` |
| 403 | warp_58=`//ret=tex2d(base01,0.5+(uv-0.5)*(i*0.1+0.9)); |
| 404 | warp_59=` |
| 405 | warp_60=`//ret=i<my_mean?ret*ret:ret; |
| 406 | warp_61=`//ret=lerp(ret,op,1-i); |
| 407 | warp_62=` |
| 408 | warp_63=`//ret=lerp(ret,GetPixel(0.5+(uv-0.5)*(i*0.05+0.95)),i); |
| 409 | warp_64=` |
| 410 | warp_65=`//ret=i>0?my_mean/*tex2d(base01,uv.xy)*/:0; |
| 411 | warp_66=`//ret=my_smp.z; |
| 412 | warp_67=` |
| 413 | warp_68=`//ret*=0.5; |
| 414 | warp_69=` |
| 415 | warp_70=`} |
| 416 | comp_1=`#define base01 sampler_rand01 |
| 417 | comp_2=`#define base02 sampler_main |
| 418 | comp_3=`sampler sampler_rand01; |
| 419 | comp_4=` |
| 420 | comp_5=`shader_body |
| 421 | comp_6=`{ |
| 422 | comp_7=`float3 s = tex2D(sampler_main,uv).xyz; |
| 423 | comp_8=` |
| 424 | comp_9=`float3 a,b,c,t,d,e,f; |
| 425 | comp_10=`s.x=sin(s.x*M_PI_2*3); |
| 426 | comp_11=`s.y=sin(s.y*M_PI_2*3); |
| 427 | comp_12=`s.z=sin(s.z*M_PI_2*3); |
| 428 | comp_13=` |
| 429 | comp_14=`s=mul(s,rot_uf1); |
| 430 | comp_15=`a.xyz=float3(2*s.x,s.y,0).xyz; |
| 431 | comp_16=`b.xyz=float3(0,s.y,s.z*2).xyz; |
| 432 | comp_17=`c.xyz=cross(normalize(a),normalize(b)).xyz; |
| 433 | comp_18=` |
| 434 | comp_19=`b.x=dot(c.xyz,normalize(float3(0,0,1)));//float3(sin(q3),1,cos(q3))); |
| 435 | comp_20=` |
| 436 | comp_21=`ret=tex2D(base02,(c.zx*0.005*c.yy)+(uv-0.5)*(0.99*aspect.xy+aspect.xy*c.yy*0.02)+0.5);//((c.xz*5+(uv-0.5)*2)/(c.yy*c.yy+8))+0.5); |
| 437 | comp_22=` |
| 438 | comp_23=`//ret.xyz=normalize(c)*b.xxx; |
| 439 | comp_24=`//ret.x=sin(2*(0.5+1*sin(q4*M_PI_2))*ret.x*M_PI_2+q13*M_PI_2)*0.5+0.5; |
| 440 | comp_25=`//ret.y=sin(ret.y*M_PI_2+q7*5)*0.5+0.5; |
| 441 | comp_26=` |
| 442 | comp_27=`ret.x=sin(frac(ret.x+q3*5)*M_PI);//*0.5+0.5; |
| 443 | comp_28=`ret.y=sin(frac(ret.y+q10*5)*M_PI);//*0.5+0.5; |
| 444 | comp_29=`ret.z=sin(frac(ret.z+q15*5)*M_PI);//*0.5+0.5; |
| 445 | comp_30=`//ret=abs(ret); |
| 446 | comp_31=` |
| 447 | comp_32=`ret.x=sin(frac(ret.x*2)*M_PI*0.5); |
| 448 | comp_33=`ret.y=sin(frac(ret.y*2)*M_PI*0.5); |
| 449 | comp_34=`ret.z=sin(frac(ret.z*2)*M_PI*0.5); |
| 450 | comp_35=` |
| 451 | comp_36=`ret=cos(ret*M_PI*0.5); //gamma |
| 452 | comp_37=`//ret*=ret; |
| 453 | comp_38=`ret*=ret; |
| 454 | comp_39=` |
| 455 | comp_40=`//ret=abs(c); |
| 456 | comp_41=` |
| 457 | comp_42=`ret*=b.xxx; |
| 458 | comp_43=`} |